package edu.java.ishop.model;
import java.io.Serializable;
import java.util.List;
import java.util.Date;
public class Order extends Model implements Serializable {

	
	private static final long serialVersionUID = 5195763217177769421L;

	private List<Product> products;
	private Date startDate;
	private int status;//new -0,failed 2,in progres -1
	public Order(long id) {
		super(id);
		
	}
	public List<Product> getProducts() {
		return products;
	}
	public void setProducts(List<Product> products) {
		this.products = products;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}

}
